﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Cash.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 800px;
        }
        .style3
        {
            width: 132px;
        }
    </style>
</head>
<body>

<form runat=server>

    <br />
    


    <asp:gridview ID="Gridview1" runat="server" ShowFooter="True" 
        AutoGenerateColumns="False" BackColor="#CCCCCC" BorderColor="#999999" 
        BorderStyle="Solid" BorderWidth="3px" CellPadding="4" CellSpacing="2" 
        ForeColor="Black" Width="100%" 
        >
        <Columns>
        <asp:BoundField DataField="RowNumber" HeaderText="Row Number" />
        <asp:TemplateField HeaderText="Product Name">
            <ItemTemplate>
                <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" 
                    DataSourceID="SqlDataSource1" DataTextField="Pro_Name" DataValueField="Pro_ID" 
                    onselectedindexchanged="DropDownList3_SelectedIndexChanged" 
                    >
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:MainConnStr %>" 
                        
        SelectCommand="SELECT [Pro_ID], [Pro_Name] FROM [Tbl_Product]">
                    </asp:SqlDataSource>

            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Description">
            <ItemTemplate>
                <asp:TextBox ID="TextBox2" runat="server" Visible="true"></asp:TextBox>
            </ItemTemplate>
           
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Unit Value" >
            <ItemTemplate>
                 <asp:TextBox ID="TextBox3" runat="server"  BackColor="#CED4DF" ForeColor="Black" 
                     ReadOnly="True"></asp:TextBox>
            </ItemTemplate>
           
        </asp:TemplateField>
            <asp:TemplateField HeaderText="Quantity">
            <ItemTemplate>
                <asp:TextBox ID="TextBox4" runat="server" AutoPostBack="True" 
                    ontextchanged="TextBox4_TextChanged"></asp:TextBox>
            </ItemTemplate>
            <FooterStyle HorizontalAlign="Right" />
            <FooterTemplate>
             <asp:Button ID="ButtonAdd" runat="server" Text="Add New Row" 
                    onclick="ButtonAdd_Click1" />
            </FooterTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Line Total">
            <ItemTemplate>
                <asp:TextBox ID="TextBox5" runat="server" BackColor="#CED4DF"></asp:TextBox>
            </ItemTemplate>
             
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
        <RowStyle BackColor="White" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#808080" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
</asp:gridview>
    




















    <table width="100%" >
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style10" align="right">
                &nbsp;</td>
            <td class="style8" colspan="2">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td align="right" >
                &nbsp;</td>
            <td >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style10" align="right">
                &nbsp;</td>
            <td class="style8" colspan="2">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td align="right" >
                &nbsp;</td>
            <td >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="Total"></asp:Label>
            </td>
            <td class="style2">
                <asp:Label ID="Label4" runat="server" Visible="False"></asp:Label>
            </td>
            <td class="style10" align="right">
                &nbsp;</td>
            <td class="style8" colspan="2">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td align="right" >
                &nbsp;</td>
            <td >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style10" >
                &nbsp;</td>
            <td class="style8" >
                &nbsp;</td>
            <td class="style9" >
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td >
                &nbsp;</td>
            <td >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    


    <table width="100%" >
        <tr>
            <td class="style4">
    


                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
    


                &nbsp;</td>
            <td>
                </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    


    <br />
                   


















    <%--<table class="style1">
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                <asp:Label ID="Label2" runat="server" Text="Date "></asp:Label>
            </td>
            <td>
                <asp:Label ID="RDate" runat="server" Text="date"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                <asp:Label ID="Label1" runat="server" Text="Invoice No"></asp:Label>
            </td>
            <td>
                <asp:Label ID="invoice" runat="server" Text="no"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>--%>
    
    </form>
</body>
</html>
